home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmListReplaceItems.z
/
XmListReplaceItems
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss - A List function that replaces the
specified elements in the list
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/List.h>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****oooolllldddd____iiiitttteeeemmmmssss,
iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss replaces each specified item of the list
with a corresponding new item. When the items are inserted
into the list, they are compared with the current
XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list. If any of the new items matches an
item on the selected list, it appears selected.
_w_i_d_g_e_t Specifies the ID of the List widget.
_o_l_d__i_t_e_m_s Specifies the items to be replaced.
_i_t_e_m__c_o_u_n_t
Specifies the number of items in _o_l_d__i_t_e_m_s and
_n_e_w__i_t_e_m_s. This number must be nonnegative.
_n_e_w__i_t_e_m_s Specifies the replacement items.
Every occurrence of each element of _o_l_d__i_t_e_m_s is replaced
with the corresponding element from _n_e_w__i_t_e_m_s. That is, the
first element of _o_l_d__i_t_e_m_s is replaced with the first
element of _n_e_w__i_t_e_m_s. The second element of _o_l_d__i_t_e_m_s is
replaced with the second element of _n_e_w__i_t_e_m_s, and so on
until _i_t_e_m__c_o_u_n_tis reached.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmLLLLiiiisssstttt(3).
Page 1 (printed 10/24/98)